#include<stdio.h>
int main()
{
	int a,b,c;
	scanf("%d%d%d",&a,&b,&c);
	if(a==0)
	printf("one answer");
	else
	{
		if(b*b-4*a*c<0)
			printf("no answer");
		else if(b*b-4*a*c==0)
			printf("two equal answers");
		else
			printf("two answers");
	}
	return 0;
}
